<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>平面转换-缩放</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .img {
      margin: 100px auto;
      width: 460px;
      height: 240px;
      background-color: #ff0;
      border: 1px solid #ccc;
      overflow: hidden;
    }

    .img img {
      width: 100%;
      height: 100%;
      transition: all .5s;
    }

    .img:hover img {
      cursor: pointer;
      transform: scale(1.2);
    }
  </style>
</head>

<body>
  <div class="img">
    <img src="../../素材/images/AI01.png" alt="">
  </div>
</body>

</html>